<html>
<head>
	<title>Excersise 4</title>
	<link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
	<div id="js-console"></div>
	<script src="scripts/js-console.js"></script>
	<script>

	var numberOne = 10;
	var numberTwo = 50;
	var numberThree = 5;

	if (numberOne > numberTwo)
	{
		if (numberTwo > numberThree)
		{
			jsConsole.writeLine("sorted numbers: " + numberOne + " ," + numberTwo + " and " + numberThree);	
		}
		else
		{
			if (numberOne > numberThree)
			{
				jsConsole.writeLine("sorted numbers: " + numberOne + " ," + numberThree + " and " + numberTwo);				
			}
			else
			{
				jsConsole.writeLine("sorted numbers: " + numberThree + " ," + numberOne + " and " + numberTwo);	
			}
		}
	}
	else
	{
		if (numberTwo > numberThree)	
		{
			if (numberOne > numberThree)
			{
				jsConsole.writeLine("sorted numbers: " + numberTwo + " ," + numberOne + " and " + numberThree);				
			}
			else
			{
				jsConsole.writeLine("sorted numbers: " + numberTwo + " ," + numberThree + " and " + numberOne);	
			}
		}
		else
		{
			jsConsole.writeLine("sorted numbers: " + numberThree + " ," + numberTwo + " and " + numberOne);	

		}
	}

	</script>
</body>
</html>
